﻿using System;

namespace Wheels
{
	public class CommandEventArgs<T>
		: EventArgs
	{
#pragma warning disable 1591
        
        public CommandEventArgs(T value)
			: base()
		{
			Value = value;
		}

		public T Value { get; private set; }
	}

	public class CommandCanExecuteEventArgs<T>
		: CommandEventArgs<T>
	{
		public CommandCanExecuteEventArgs(T value)
			: base(value)
		{
			CanExecute = true;
		}

		public bool CanExecute { get; set; }
	}
}
